package core.database.pojo.entity;

/**
 * @author Long
 * @version 1.0
 * @description:
 * @title DataBase
 * @date 2021/3/6 8:59
 */
public class DataBase {
    /**
     * IP
     */
    private String ip;
    /**
     * 用户名
     */
    private String user;
    /**
     * 密码
     */
    private String password;
    /**
     * 连接类型
     */
    private String type;
    /**
     * 端口
     */
    private String port;
    /**
     * 数据库
     */
    private String library;

    public DataBase(String ip, String user, String password, String type, String port, String library) {
        this.ip = ip;
        this.user = user;
        this.password = password;
        this.type = type;
        this.port = port;
        this.library = library;
    }

    public String getIp() {
        return ip;
    }

    public String getUser() {
        return user;
    }

    public String getPassword() {
        return password;
    }

    public String getType() {
        return type;
    }

    public String getPort() {
        return port;
    }

    public String getLibrary() {
        return library;
    }
}
